<{if $mydownloadsadcodes.all}>
<{$mydownloadsadcodes.all}>
<{elseif $mydownloadsadcodes.ratefile}>
<{$mydownloadsadcodes.ratefile}>
<{/if}>
<br /><br />

<{if $mydownloadsshowlogo}>
<div align="center"><{$mydownloadslogoimage}></div><br />
<{/if}>
<br />
<{if $mydownloadsshowsearch}>
<div align="center">
<form action="<{$xoops_url}>/search.php" method="get">
<input type="text" id="query" name="query" size="30" maxlength="255" value="" />
<select id="andor" name="andor" size="1">
<option value="AND" selected="selected"><{$lang_all}></option>
<option value="OR"><{$lang_any}></option>
<option value="exact"><{$lang_exact}></option>
</select>
<input type="hidden" name="mids[]" value="<{$module_id}>" />
<input type="hidden" id="action" name="action" value="results" />
<input type="submit" class="formButton" name="submit" id="submit" value="<{$lang_search}>" />
</form>
</div>
<br />
<{/if}>
<{if $catarray.toolbar}>
<div align="center"><{$catarray.toolbar}></div><br />
<{/if}>
<br />
<{if $mydownloadsshowthemechanger}>
<table cellspacing="0" width="100%">
  <tr>
   <td align="right">
	<form action="<{$xoops_requesturi}>" method="post">
	<b><{$lang_themechanger}></b><{$mydownloadsthemeoption}>
	</form>
  </td>
  </tr>
</table>
<{/if}>
<br />
<hr size="1" noshade="noshade" />
<table border="0" cellpadding="1" cellspacing="0" width="80%" align="center">
  <tr>
    <td>
      <h4><{$file.title}></h4>
      <ul>
             <li><{$lang_voteonce}></li>
             <li><{$lang_ratingscale}></li>
             <li><{$lang_beobjective}></li>
             <li><{$lang_donotvote}></li>
      </ul>
    </td>
  </tr>
  <tr>
    <td align="center">
      <form method="post" action="ratefile.php">
        <input type="hidden" name="lid" value="<{$file.id}>" />
        <input type="hidden" name="cid" value="<{$file.cid}>" />
             <select name="rating"><option>--</option><option>10</option><option>9</option><option>8</option><option>7</option><option>6</option><option>5</option><option>4</option><option>3</option><option>2</option><option>1</option></select>&nbsp;&nbsp;
        <input type="submit" name="submit" value="<{$lang_rateit}>" /> <input type=button value="<{$lang_cancel}>" onclick="location='<{$mydownloads_weburl}>/singlefile.php?cid=<{$file.cid}>&amp;lid=<{$file.id}>'" />
      </form>
    </td>
  </tr>
</table>
